<div class="container">
    <!-- WRAPPER -->
    <div class="container-wrapper wrapper-bg">
        <!-- TAB -->
        <div class="container-tab">
            <div class="container-tab__item" *ngFor="let tab of tabs;let i = index"
                [style.backgroundImage]="'url('+deployUrl+'assets/img/end-year/male/tab-'+tab.key+'-'+(tab.key === curTabKey?'active':'inactive')+'.png)'"
                (click)="onTabClick(tab)">
            </div>
        </div>
        <!-- CONTENT -->
        <app-xinxiu-promotion [timeConfig]="timeConfig" *ngIf="curTabKey ===1">
        </app-xinxiu-promotion>
        <app-xinxiu-final [timeConfig]="timeConfig" *ngIf="curTabKey ===2">
        </app-xinxiu-final>
    </div>
</div>